
class RBTSet implements WordSet{

	RedBlackTree<Word> rbTree = new RedBlackTree<Word>();
	@Override
	public void add(Word wordObject) {
		rbTree.add(wordObject);		
	}

	@Override
	public Word get(Word word) {
		return rbTree.get(word);
	}
	
}
